Skip to content

Fix audit_report: route named event types to audit_event_type#164

Open
idimov-keeper wants to merge 1 commit intoKeeper-Security:releasefrom
idimov-keeper:fix/audit-event-type-filter
Open

Fix audit_report: route named event types to audit_event_type#164
idimov-keeper wants to merge 1 commit intoKeeper-Security:releasefrom
idimov-keeper:fix/audit-event-type-filter

Conversation

@idimov-keeper
Copy link
Copy Markdown

AuditReportFilter.event_type accepts both numeric IDs and symbolic names (e.g. 'login'), but get_filter() always sent them under the 'event_type' API key. The server expects symbolic names under 'audit_event_type' and only numeric IDs under 'event_type', so name-based filters were being silently ignored.

Split mixed input across both keys; preserve the existing single-value-vs-list collapsing.

AuditReportFilter.event_type accepts both numeric IDs and symbolic
names (e.g. 'login'), but get_filter() always sent them under the
'event_type' API key. The server expects symbolic names under
'audit_event_type' and only numeric IDs under 'event_type', so
name-based filters were being silently ignored.

Split mixed input across both keys; preserve the existing
single-value-vs-list collapsing.
@adeshmukh-ks adeshmukh-ks requested a review from sk-keeper May 5, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant